home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
mxutil
/
blast13
/
direct.doc
< prev
next >
Wrap
Text File
|
1991-07-11
|
872b
|
45 lines
/*
Turbo C Direct Access Interface
by Joel Lucsy
Vroom-Diggy-Diggy Software, (c) 1991
Defined Macros:
SBOK Return value indicating success from reset_dsp.
Functions Defined For Direct Access:
int reset_dsp(void)
-Resets the DSP. Do this before calling any direct access routines.
-Returns SBOK if able to reset.
int read_data(void)
-Returns data from D-A converter.
void write_data(void)
-Writes data to the A-D converter.
-Speaker_on must be called first in order to hear the sound.
void speaker_on(void)
-Turns on the speaker.
void speaker_off(void)
-Turns off the speaker.
void asmdelay(int delay)
-A delay for timing output, more usefull than Turbo C's delay.
** Sound Blaster is a copyright of Creative Labs, Inc. **
*/